package com.csd.pojo;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * @JavaBean Student
 * @author CSD
 * @version 1.1.1
 * @date 2009-12-16
 * @description 学生（团队的成员）
 */

public  class Student  implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields    
	/**数据库唯一标识*/
     private Integer id;
    /**所在团队*/
     private Team team;	
    /**学号*/			
     private String sno;	
    /**姓名*/		
     private String name;
    /**性别*/			
     private Boolean gender;
    /**电子邮件*/			
     private String email;
    /**电话*/			
     private String telephone;		
    /**专业*/
     private String major;
    /**年级*/			
     private String grade;	
    /**个人简介*/		
     private String introduction;	
    /**所领导的团队*/
     private Set<Team> teams = new HashSet<Team>(0);	


    // Constructors

    /** default constructor */
    public Student() {
    }

    
    /** full constructor */
    public Student(Team team, String sno, String name, Boolean gender, String email, String telephone, String major, String grade, String introduction, Set<Team> teams) {
        this.team = team;
        this.sno = sno;
        this.name = name;
        this.gender = gender;
        this.email = email;
        this.telephone = telephone;
        this.major = major;
        this.grade = grade;
        this.introduction = introduction;
        this.teams = teams;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Team getTeam() {
        return this.team;
    }
    
    public void setTeam(Team team) {
        this.team = team;
    }

    public String getSno() {
        return this.sno;
    }
    
    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Boolean getGender() {
        return this.gender;
    }
    
    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

 

    public String getTelephone() {
		return telephone;
	}


	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}


	public String getMajor() {
        return this.major;
    }
    
    public void setMajor(String major) {
        this.major = major;
    }

    public String getGrade() {
        return this.grade;
    }
    
    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getIntroduction() {
        return this.introduction;
    }
    
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }


	public Set<Team> getTeams() {
		return teams;
	}


	public void setTeams(Set<Team> teams) {
		this.teams = teams;
	}









}